<div  class="view" style="width: 100px; float: left;padding: 5px;">
<? $urlimageh = is_file($data->urlimage)?$data->urlimage:"imagebooks/book-icon.png" ?>
<?php $imge =  chtml::image($urlimageh,$data->description,array('width'=>90,'height'=>125,'style'=>'padding: 0px;
background-color: #ffffff;
border: 2px solid transparent;
-moz-box-shadow: 0px 5px 5px #b4bf9f;
-webkit-box-shadow: 0px 5px 5px #b4bf9f;
box-shadow: 0px 5px 5px #b4bf9f;
filter: progid: DXImageTransform.Microsoft.Shadow(strength = 5, direction = 180, color = \'#b4bf9f\');
-ms-filter: \"progid: DXImageTransform.Microsoft.Shadow(strength = 5, Direction = 180, Color = \'#b4bf9f\')\";
/*Shadows look very different in IE (Only cardinal directions supported)*/
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element should have a background-color*/
/*All filters must be placed together*/
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
filter: progid: DXImageTransform.Microsoft.gradient(startColorstr = \'#f2fff6\', endColorstr = \'#c5ffa8\');
/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
-ms-filter: \"progid: DXImageTransform.Microsoft.gradient(startColorstr = \'#f2fff6\', endColorstr = \'#c5ffa8\')\";
/*Element must have a height (not auto)*/
/*All filters must be placed together*/
background-image: -moz-linear-gradient(top, #f2fff6, #c5ffa8);
background-image: -ms-linear-gradient(top, #f2fff6, #c5ffa8);
background-image: -o-linear-gradient(top, #f2fff6, #c5ffa8);
background-image: -webkit-gradient(linear, center top, center bottom, from(#f2fff6), to(#c5ffa8));
background-image: -webkit-linear-gradient(top, #f2fff6, #c5ffa8);
background-image: linear-gradient(top, #f2fff6, #c5ffa8);
/*--IE9 DOES NOT SUPPORT GRADIENT BACKGROUNDS--*/

'));?>
<?php echo CHtml::link($imge,array('main/viewbook', 'idbook'=>$data->idbook)); ?>
</br>
<?php echo CHtml::link($data->name,array('main/viewbook', 'idbook'=>$data->idbook)); ?>
</div><!---class view--->